Interactive & Animated Plots
import holoviews as hv
import uxarray as ux
hv.extension("bokeh")
file_dir = "../../meshfiles/"
/home/runner/miniconda3/envs/cookbook-dev/lib/python3.10/site-packages/dask/dataframe/_pyarrow_compat.py:17: FutureWarning: Minimal version of pyarrow will soon be increased to 14.0.1. You are using 12.0.1. Please consider upgrading.
warnings.warn(
grid_filename_geoflow = file_dir + "geoflow.grid.nc"
data_filename_geoflow = file_dir + "geoflow.data.nc"
uxds = ux.open_dataset(grid_filename_geoflow, data_filename_geoflow)
v1 = uxds["v1"].nodal_average()